package com.ccys.db.mapper;

import com.ccys.db.dto.doctor.completedOrEndCall.PackageEndCallOfflineBooking;
import com.ccys.db.dto.web.productAndService.PackageDto;
import com.ccys.db.entity.TblPackage;
import com.ccys.db.vo.web.productAndService.IdNameVo;
import com.ccys.db.vo.web.productAndService.PackageVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/08
*/
public interface TblPackageMapper extends Mapper<TblPackage>, MySqlMapper<TblPackage> {

    List<PackageVo> getList(PackageDto dto);

    List<IdNameVo> getPackageList(String type);

    PackageEndCallOfflineBooking findEndCallOfflineBookingByPackageId(@Param("packageId") String packageId,
                                                                      @Param("medicalServiceExclusionListId") String medicalServiceExclusionListId,
                                                                      @Param("medicalServiceInclusionListId") String medicalServiceInclusionListId);
}
